package com.kws.tool.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author : zhangbenting
 * @date : 2025/1/16 15:22
 * @Version: 1.0
 */
@TableName("tb_electricity_price_cid")
@Data
public class ElectricityPriceCidEntity implements Serializable {

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("场站c_id")
    private String cId;

    @ApiModelProperty("开始时间")
    private String startTime;

    @ApiModelProperty("结束时间")
    private String endTime;

    @ApiModelProperty("时段类型(topTime:尖峰时段 highTime:高峰时段 flatTime:平时段 lowTime:低谷时段 deeptime:深谷时段)")
    private String periodType;

    @ApiModelProperty("电价")
    private String electrovalence;

    @ApiModelProperty("年份")
    private String year;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
